//
//  JSBaseCollectionCell.m
//  NiubilityProject
//
//  Created by Apple on 2018/3/29.
//  Copyright © 2018年 Apple. All rights reserved.
//

#import "JSBaseCollectionCell.h"

@implementation JSBaseCollectionCell
- (instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame])
    {
        [self js_setupCell];
        
        [self js_buildSubview];
    }
    
    return self;
}

- (void)js_setupCell
{
    
}

- (void)js_buildSubview
{
    
}

- (void)js_loadContent
{
    
}

- (void)js_selectedEvent
{
    
}

+ (JSCellDataAdapter *)js_dataAdapterWithCellReuseIdentifier:(NSString *)reuseIdentifier
                                                        data:(id)data
                                                  cellHeight:(CGFloat)height
                                                        type:(NSInteger)type
{
    return [JSCellDataAdapter js_cellDataAdapterWithCellReuseIdentifier:NSStringFromClass([self class]) data:data cellHeight:height cellType:type];
}

@end
